package cn.piesat.scanning.service.impl;

import cn.piesat.scanning.dao.DbDmsFlowInfoExecDAO;
import cn.piesat.scanning.dto.DbDmsFlowInfoExecDTO;
import cn.piesat.scanning.service.DbDmsFlowInfoExecService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zyp
 * @date 2021/5/28
 */
@Service
public class DbDmsFlowInfoExecServiceImpl implements DbDmsFlowInfoExecService {

    @Autowired
    private DbDmsFlowInfoExecDAO dbDmsFlowInfoExecDao;
    @Override
    public DbDmsFlowInfoExecDTO findByViewNumber(String viewNumber) {
        return dbDmsFlowInfoExecDao.findByViewNumber(viewNumber);
    }

    @Override
    public DbDmsFlowInfoExecDTO save(DbDmsFlowInfoExecDTO execDTO) {
        return dbDmsFlowInfoExecDao.save(execDTO);
    }
}
